package yxy.game.sdk.weixin;

import yxy.apple.http.server.business.Business;
import yxy.game.pm2.bean.channel.SdkChannel;

abstract class Sdk_weixin implements Business{

	//"https://api.weixin.qq.com/sns/jscode2session";
	public static final String chexklogin = "https://api.weixin.qq.com/sns/jscode2session?appid=%s&secret=%s&js_code=%s&grant_type=authorization_code";
	public static final int success = 0;
	
	public static final String jh_chexklogin = "https://user.api.xjhgame.net/union/miniapp/login";
	
	public static final int android = 1;
	public static final int ios = 2;
	
	public static final String jh_success = "200";	//表示成功，其他值表示接口失败
	
	@Override
	public String name() {
		return SdkChannel.sdk_weixin;
	}
	
	@Override
	public Business clone() throws CloneNotSupportedException {
		return (Business) super.clone();
	}

}
